package com.ddsfec.homepagerest.service;

import com.ddsfec.homepagerest.entity.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(serviceId = "homepage-api")
public interface HomepageService {

    @RequestMapping(value = "homepage/seckill",method = RequestMethod.POST)
    public ResultBean seckillHomepage();

    @RequestMapping(value = "homepage/goods/allType",method = RequestMethod.POST)
    ResultBean homeGoodsAllType();



}
